package com.ict.txmsv2.services;

import com.ict.txmsv2.mapper.UserFaceMapper;
import com.ict.txmsv2.model.UserFace;
import com.ict.txmsv2.model.UserFaceInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yoleen
 * @date 2020/12/17 11:09
 */

@Service
public class UserFaceService {
    @Autowired
    UserFaceMapper userFaceMapper;


    public UserFaceInfo getFeatureByUserId(Integer userId) {
        return userFaceMapper.getFeatureByUserId(userId);
    }

    public void insertSelective(UserFace userFace) {
        userFaceMapper.insertSelective(userFace);
    }
}
